<?xml version="1.0" encoding="UTF-8"?>

<definitions id="definitions"
             xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
             xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
             targetNamespace="Examples">

    <process id="mocksTest"
             isExecutable="true">

        <startEvent id="theStart" />
        <sequenceFlow sourceRef="theStart"
                      targetRef="serviceTask" />

        <serviceTask id="serviceTask"
                     camunda:expression="#{myMock.testMethod(execution, myMock.test)}" />
        <sequenceFlow sourceRef="serviceTask"
                      targetRef="waitState" />

        <userTask id="waitState" />
        <sequenceFlow sourceRef="waitState"
                      targetRef="end" />

        <endEvent id="end" />

    </process>

</definitions>